<style>
h1 { font-family:Arial,sans-serif; font-size:24pt; color:#08185A; font-weight:100; margin-bottom:0em}
h2.co { font-family:Arial,sans-serif; font-size:24pt; color:#FFFFFF; margin-top:0em; margin-bottom:0em; font-weight:100}
h3.co { font-family:Arial,sans-serif; font-size:16pt; color:#000000; margin-top:0em; margin-bottom:0em; font-weight:100}
h3 { font-family:Arial,sans-serif; font-size:16pt; color:#08185A; margin-top:0em; margin-bottom:0em; font-weight:100}
body { font-family:Verdana,Arial,sans-serif; font-size:11px; color:#08185A;}
th { font-size:12px;background:#015289;color:#FFFFFF;font-weight:bold;height:30px;}
td { font-size:12px;background:#DDE8F3}
.pageTitle { font-size:24px;} 
</style>
<?php
$secret_key = "ebskey"; // Your Secret Key
if(isset($_GET['DR'])) {
require('/public/Rc43.php');
$DR = preg_replace("/\s/","+",$_GET['DR']);
$rc4 = new Crypt_RC4($secret_key);
$QueryString = base64_decode($DR);
$rc4->decrypt($QueryString);
$QueryString = explode('&',$QueryString);
$response = array();
foreach($QueryString as $param){
$param = explode('=',$param);
$response[$param[0]] = urldecode($param[1]);
}
} 

//payment sucess
if(($response['ResponseCode'] == 0))
{
foreach( $response as $key => $value)
{
echo $key;
echo $value;
}
}
// payment failed
if(($response['ResponseCode'] != 0))
{
foreach( $response as $key => $value)
{
echo $key;
echo $value;
}
} 
?>
